﻿<%@ Page Language="C#" MasterPageFile="~/Admin/MasterPage.master" AutoEventWireup="true" CodeFile="CTDeal_List.aspx.cs" Inherits="Admin_CTDeal_List" Title="Untitled Page" %>

<%@ Register Assembly="ASPnetPagerV2_8" Namespace="ASPnetControls" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="menuPlaceHolder" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="contentPlaceHolder" Runat="Server">
<div style="padding:12px 12px 12px 12px;">
 <div>
       
        <div class="title">
            Danh Sách Chi Tiết Deal</div>
        <div style="width:100%;">
            <div style="display:table-cell; width:77%;float:left;">
                Mã Deal:<asp:TextBox ID="txt_madeal" runat="server" Width="74px"></asp:TextBox>
                Đơn Hàng :<asp:TextBox ID="txt_donhang" runat="server" Width="98px" ></asp:TextBox>
                Mã Tình Trạng Deal<asp:TextBox ID="txt_tinhtrang" runat="server"></asp:TextBox>
                <asp:Button ID="btn_Search" runat="server" Text="Tìm kiếm" Width="120px" OnClick="btn_Search_Click" />           
            </div>
            <div class="addnewrow" style="display:table-cell; width:18%;float:right;">
                    <a href="NhanVien_Add.aspx">Thêm mới</a> | 
                <asp:LinkButton ID="lbt_Xoa" runat="server">Xóa</asp:LinkButton>
                    
            </div>        
        </div>
        <div>
        <asp:Repeater ID="Repeater1" runat="server" OnItemDataBound="Repeater1_ItemDataBound">
            <HeaderTemplate>
                <table cellspacing="1" cellpadding="3" width="100%" bgcolor="#cccccc" border="0">
                <thead>
                    <tr class="listtableheader">
                        <th>Mã Deal</th>
                       
                        <th>Tình Trạng Deal</th> 
                         <th>Đơn Hàng</th> 
                        <th>Sửa</th>
                        <th>
                            <input id="cb_All" type="checkbox" onclick="CheckAll(1);" />
                            <a href="javascript:CheckAll(2)">Chọn hết</a>
                        </th>
                    </tr>
                </thead>
                <tbody>
            </HeaderTemplate>
            <ItemTemplate>
              <tr>
                <td><%#Eval("MaDeal") %></td>
                <td><%#Eval("tinhtrangdeal") %></td>
                 <td><%#Eval("donhang") %></td>
                <td><asp:HyperLink ID="hpl_Edit" Text="Edit" runat="server" /></td>
                <td>
                    <asp:CheckBox ID="cb_Xoa" runat="server" />
                    <asp:HiddenField ID="hf_id" Value='<%#Eval("Madeal") %>' runat="server" />
                </td>
              </tr>
            </ItemTemplate>
            <FooterTemplate>
                </tbody>
            </table>   
            </FooterTemplate>
        </asp:Repeater>  
        </div>
        <div style="width:100%;"> 
            <div style="float:left; width: 1008px; text-align: center; height: 48px;">               
                <cc1:PagerV2_8 ID="Pager" runat="server" />
              
              
           </div>
        </div>
 </div>
 </div>
</asp:Content>

